odhcp6c: fix client exiting if Renew and Rebind fails
authorNicolas BESNARD <[email protected]>
Thu, 20 Feb 2025 13:07:05 +0000 (13:07 +0000)
committerÁlvaro Fernández Rojas <[email protected]>
Mon, 3 Nov 2025 15:21:24 +0000 (16:21 +0100)
commita01b1ff1e50f3970ae1af6198022a94cc8fa702a
tree88abafb4d7fc87a2e0e415cb6a89466045bde664
parent4839bf6d0feb49eefd1f9b6a0b58a3cff39eff0d
odhcp6c: fix client exiting if Renew and Rebind fails

Problem: odhcp6c exits when no reply is received from the server after
retransmission of Renew/Rebind messages.

Solution: restart the state machine instead of exiting on retransmission
failure.

Signed-off-by: Nicolas BESNARD <[email protected]>
Signed-off-by: Paul Donald <[email protected]>
Link: https://github.com/openwrt/odhcp6c/pull/106
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/odhcp6c.c